package org.hqs.patient.mapper;

import org.hqs.patient.pojo.Patient;

import java.util.List;

public interface PatientMapper {
    Patient findById(Long id);

    List<Patient> findAllPatients();

    int insertPatient(Patient patient);

    int updatePatient(Patient patient);

    int deletePatientById(Long id);
}